//
//  JMOrderModel.h
//  NewiOSProject
//
//  Created by apple on 2023/9/16.
//  Copyright © 2023 范智渊. All rights reserved.
//

#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN


///结清显示的日期和金
@interface beforePaymentDetailModel : NSObject
///申请日期
@property (nonatomic, copy) NSNumber *applyTime;
/// 借款金额
@property (nonatomic, copy) NSNumber *loanAmount;
@end


///
@interface settledLoanDetailModel : NSObject
///实际还款日期
@property (nonatomic, copy) NSNumber *repayTime;
///实际还款金额
@property (nonatomic, copy) NSNumber *repaymentIncomeAmount;
@end



///正常还款信息
@interface repaymentDetailModel : NSObject
///还款金额
@property (nonatomic, copy) NSNumber *repaymentAmount;
///还款时间
@property (nonatomic, copy) NSNumber *repaymentTime;
@end



@interface JMOrderModel : NSObject
//状态90：审批中,100：审批通过,110：审批不通过,150：放款中,169：放款失败,170：放款成功,-170：退款,180：逾期,200：贷款结清
@property (nonatomic, strong) NSString *status;
/// 产品名称
@property (nonatomic, strong) NSString *productName;
///产品id
@property (nonatomic, strong) NSString *productId;
///产品图
@property (nonatomic, strong) NSString *slogan;
///订单号
@property (nonatomic, copy) NSString *orderNo;
///放款之前显示的日期和金额 ,
@property (nonatomic, strong) beforePaymentDetailModel *beforePaymentDetail;
/// 结清显示的日期和金额 ,
@property (nonatomic, strong) settledLoanDetailModel *settledLoanDetail;
///待还款显示的日期和金额 ,
@property (nonatomic, strong) repaymentDetailModel *repaymentDetail;

//MARK: - 自增字段（非接口字段，方便根据判断取值使用）
///打点使用
@property (nonatomic, copy) NSString *stateTypeString;
///pageType：审核中、放款中、已还传1，待还款、逾期传2
@property (nonatomic, copy) NSString *pageType;
///处理后的订单状态字符串
@property (nonatomic, copy) NSString *statusString;
///处理后的订单状态字图片名
@property (nonatomic, copy) NSString *statusImgName;
///不同状态订单状态文字颜色
@property (nonatomic, strong) NSString *statusTextColor;
///日期标题文字
@property (nonatomic, copy) NSString *timeLabeString;
///处理后的price
@property (nonatomic, copy) NSString *priceString;
///处理后的time
@property (nonatomic, copy) NSString *timeString;
///提示语
@property (nonatomic, copy) NSString *warningString;

///显示隐藏右箭头
@property (nonatomic, assign) BOOL rightArrowHidden;
///显示隐藏警告图标
@property (nonatomic, assign) BOOL warnimgHidden;
///显示隐藏警告label
@property (nonatomic, assign) BOOL warningLabHidden;
///显示隐藏修改按钮
@property (nonatomic, assign) BOOL modifyBtnHidden;

///行高
@property (nonatomic, assign) CGFloat rowHeight;


@end


NS_ASSUME_NONNULL_END
